home *** CD-ROM | disk | FTP | other *** search
/ Mods Anthology 1 / Music-AmigaModsAnthology-1of4-Psychodk.mcsteam.iso / Tools / Mac / ST-20.EXE / Sound-Trecker 2.0 / Sound-Trecker 2.0.rsrc / bin.rsrc_CODE_4.txt < prev    next >
Text File  |  1993-10-09  |  19KB  |  363 lines

  1. # near model CODE resource
  2. # jump table entries: 80-98 (19 of them)
  3. label00000000:
  4. 00000000  42A7                     clr.l      -[A7]
  5. 00000002  2F3C 5053 546B           move.l     -[A7], 0x5053546B /* 'PSTk' */
  6. 00000008  3F3C 0080                move.w     -[A7], 0x80
  7. 0000000C  A9A0                     syscall    GetResource
  8. 0000000E  205F                     movea.l    A0, [A7]+
  9. 00000010  2008                     move.l     D0, A0
  10. 00000012  6606                     bne        +0x8 /* 0000001A */
  11. 00000014  303C 0019                move.w     D0, 0x19
  12. 00000018  A9C9                     syscall    SysError
  13. label0000001A:
  14. 0000001A  2050                     movea.l    A0, [A0]
  15. 0000001C  201F                     move.l     D0, [A7]+
  16. 0000001E  4ED0                     jmp        [A0]
  17. 00000020  4E75                     rts
  18. 00000022  4878 0000                push.l     0x0
  19. 00000026  6000 FFD8                bra        -0x26 /* 00000000 */
  20. 0000002A  4E75                     rts
  21. export_19:
  22. 0000002C  4878 0001                push.l     0x1
  23. 00000030  6000 FFCE                bra        -0x30 /* 00000000 */
  24. 00000034  4E75                     rts
  25. export_20:
  26. 00000036  4878 0002                push.l     0x2
  27. 0000003A  6000 FFC4                bra        -0x3A /* 00000000 */
  28. 0000003E  4E75                     rts
  29. export_21:
  30. 00000040  4878 0003                push.l     0x3
  31. 00000044  6000 FFBA                bra        -0x44 /* 00000000 */
  32. 00000048  4E75                     rts
  33. export_22:
  34. 0000004A  4878 0004                push.l     0x4
  35. 0000004E  6000 FFB0                bra        -0x4E /* 00000000 */
  36. 00000052  4E75                     rts
  37. export_23:
  38. 00000054  4878 0005                push.l     0x5
  39. 00000058  6000 FFA6                bra        -0x58 /* 00000000 */
  40. 0000005C  4E75                     rts
  41. export_24:
  42. 0000005E  4878 0006                push.l     0x6
  43. 00000062  6000 FF9C                bra        -0x62 /* 00000000 */
  44. 00000066  4E75                     rts
  45. export_25:
  46. 00000068  4878 0007                push.l     0x7
  47. 0000006C  6000 FF92                bra        -0x6C /* 00000000 */
  48. 00000070  4E75                     rts
  49. export_26:
  50. 00000072  4878 0008                push.l     0x8
  51. 00000076  6000 FF88                bra        -0x76 /* 00000000 */
  52. 0000007A  4E75                     rts
  53. 0000007C  4878 0009                push.l     0x9 /* '\t' */
  54. 00000080  6000 FF7E                bra        -0x80 /* 00000000 */
  55. 00000084  4E75                     rts
  56. 00000086  4878 000A                push.l     0xA /* '\n' */
  57. 0000008A  6000 FF74                bra        -0x8A /* 00000000 */
  58. 0000008E  4E75                     rts
  59. export_27:
  60. 00000090  4878 000B                push.l     0xB
  61. 00000094  6000 FF6A                bra        -0x94 /* 00000000 */
  62. 00000098  4E75                     rts
  63. export_28:
  64. 0000009A  4878 000C                push.l     0xC
  65. 0000009E  6000 FF60                bra        -0x9E /* 00000000 */
  66. 000000A2  4E75                     rts
  67. 000000A4  4878 000D                push.l     0xD /* '\r' */
  68. 000000A8  6000 FF56                bra        -0xA8 /* 00000000 */
  69. 000000AC  4E75                     rts
  70. 000000AE  2A2A 2A20                move.l     D5, [A2 + 0x2A20]
  71. 000000B2  2750 5354                move.l     [A3 + 0x5354], [A0]
  72. 000000B6  6B27                     bmi        +0x29 /* 000000DF */
  73. 000000B8  2072 6573 6F75 7263 6520 7374 movea.l    A0, [[A2 + 0x6F757263] + 0x65207374]
  74. 000000C4  7562                     moveq.l    D2, 0x62
  75. 000000C6  2056                     movea.l    A0, [A6]
  76. 000000C8  322E 302C                move.w     D1, [A6 + 0x302C]
  77. 000000CC  2030 392F 3037 2F39 332C move.l     D0, [[A0 + 0x3037] + D3 + 0x2F39332C]
  78. 000000D6  2072 6573 6F75 7263 6520 616E movea.l    A0, [[A2 + 0x6F757263] + 0x6520616E]
  79. 000000E2  6420                     bcc        +0x22 /* 00000104 */
  80. 000000E4  7374                     moveq.l    D1, 0x74
  81. 000000E6  7562                     moveq.l    D2, 0x62
  82. 000000E8  2063                     movea.l    A0, -[A3]
  83. 000000EA  6F70                     ble        +0x72 /* 0000015C */
  84. 000000EC  7972                     moveq.l    D4, 0x72
  85. 000000EE  6967                     bvs        +0x69 /* 00000157 */
  86. 000000F0  6874                     bvc        +0x76 /* 00000166 */
  87. 000000F2  2028 6329                move.l     D0, [A0 + 0x6329]
  88. 000000F6  2031 3939 312D 3933      move.l     D0, [[A1 + 0x312D3933 + D3]]
  89. 000000FE  2062                     movea.l    A0, -[A2]
  90. 00000100  7920                     moveq.l    D4, 0x20
  91. 00000102  4672 616E                not.w      <<invalid full ext with IS == 1 and I/IS == 6>>
  92. // begin alternate branch 00000104-00000106
  93. label00000104:
  94. 00000104  616E                     bsr        +0x70 /* 00000174 */
  95. // end alternate branch 00000104-00000106
  96. label00000104: // (misaligned)
  97. 00000106  6B20                     bmi        +0x22 /* 00000128 */
  98. 00000108  5365                     subq.w     -[A5], 1
  99. 0000010A  6964                     bvs        +0x66 /* 00000170 */
  100. 0000010C  652C                     bcs        +0x2E /* 0000013A */
  101. 0000010E  2057                     movea.l    A0, [A7]
  102. 00000110  6972                     bvs        +0x74 /* 00000184 */
  103. 00000112  6963                     bvs        +0x65 /* 00000177 */
  104. 00000114  6873                     bvc        +0x75 /* 00000189 */
  105. 00000116  626F                     bhi        +0x71 /* 00000187 */
  106. 00000118  6E67                     bgt        +0x69 /* 00000181 */
  107. 0000011A  6172                     bsr        +0x74 /* 0000018E */
  108. 0000011C  6473                     bcc        +0x75 /* 00000191 */
  109. 0000011E  7472                     moveq.l    D2, 0x72
  110. 00000120  2E20                     move.l     D7, -[A0]
  111. 00000122  3433 2C20                move.w     D2, [A3 + D2 * 4 + 0x20]
  112. 00000126  442D 3532                neg.b      [A5 + 0x3532 /* export_1698 */]
  113. // begin alternate branch 00000128-0000012E
  114. label00000128:
  115. 00000128  3532 3036                move.w     -[A2], [A2 + D3.w + 0x36]
  116. 0000012C  3220                     move.w     D1, -[A0]
  117. // end alternate branch 00000128-0000012E
  118. label00000128: // (misaligned)
  119. 0000012A  3036 3220                move.w     D0, [A6 + D3.w * 2 + 0x20]
  120. 0000012E  4161                     chk.w      D0, -[A1]
  121. 00000130  6368                     bls        +0x6A /* 0000019A */
  122. 00000132  656E                     bcs        +0x70 /* 000001A2 */
  123. 00000134  2C20                     move.l     D6, -[A0]
  124. 00000136  4765                     chk.w      D3, -[A5]
  125. 00000138  726D                     moveq.l    D1, 0x6D
  126. label0000013A:
  127. 0000013A  616E                     bsr        +0x70 /* 000001AA */
  128. 0000013C  7920                     moveq.l    D4, 0x20
  129. 0000013E  2A2A 2A20                move.l     D5, [A2 + 0x2A20]
  130. 00000142  5468 6973                addq.w     [A0 + 0x6973], 2
  131. 00000146  206D 6573                movea.l    A0, [A5 + 0x6573]
  132. 0000014A  7361                     moveq.l    D1, 0x61
  133. 0000014C  6765                     beq        +0x67 /* 000001B3 */
  134. 0000014E  206D 7573                movea.l    A0, [A5 + 0x7573]
  135. 00000152  7420                     moveq.l    D2, 0x20
  136. 00000154  6E6F                     bgt        +0x71 /* 000001C5 */
  137. 00000156  7420                     moveq.l    D2, 0x20
  138. 00000158  6265                     bhi        +0x67 /* 000001BF */
  139. 0000015A  2063                     movea.l    A0, -[A3]
  140. label0000015C:
  141. 0000015C  6861                     bvc        +0x63 /* 000001BF */
  142. 0000015E  6E67                     bgt        +0x69 /* 000001C7 */
  143. 00000160  6564                     bcs        +0x66 /* 000001C6 */
  144. 00000162  206F 7220                movea.l    A0, [A7 + 0x7220]
  145. label00000166:
  146. 00000166  7265                     moveq.l    D1, 0x65
  147. 00000168  6D6F                     blt        +0x71 /* 000001D9 */
  148. 0000016A  7665                     moveq.l    D3, 0x65
  149. 0000016C  642E                     bcc        +0x30 /* 0000019C */
  150. 0000016E  4E75                     rts
  151. label00000170:
  152. 00000170  42A7                     clr.l      -[A7]
  153. 00000172  2F3C 4953 546B           move.l     -[A7], 0x4953546B /* 'ISTk' */
  154. // begin alternate branch 00000174-00000180
  155. fn00000174:
  156. 00000174  4953                     chk.w      D4, [A3]
  157. 00000176  546B 3F3C                addq.w     [A3 + 0x3F3C], 2
  158. 0000017A  0080 A9A0 205F           ori.l      D0, 0xA9A0205F
  159. // end alternate branch 00000174-00000180
  160. fn00000174: // (misaligned)
  161. 00000178  3F3C 0080                move.w     -[A7], 0x80
  162. 0000017C  A9A0                     syscall    GetResource
  163. 0000017E  205F                     movea.l    A0, [A7]+
  164. 00000180  2008                     move.l     D0, A0
  165. 00000182  6606                     bne        +0x8 /* 0000018A */
  166. label00000184:
  167. 00000184  303C 0019                move.w     D0, 0x19
  168. 00000188  A9C9                     syscall    SysError
  169. label0000018A:
  170. 0000018A  2050                     movea.l    A0, [A0]
  171. 0000018C  201F                     move.l     D0, [A7]+
  172. fn0000018E:
  173. 0000018E  4ED0                     jmp        [A0]
  174. 00000190  4E75                     rts
  175. export_10:
  176. 00000192  4878 0001                push.l     0x1
  177. 00000196  6000 FFD8                bra        -0x26 /* 00000170 */
  178. label0000019A:
  179. 0000019A  4E75                     rts
  180. label0000019C:
  181. 0000019C  4878 0002                push.l     0x2
  182. 000001A0  6000 FFCE                bra        -0x30 /* 00000170 */
  183. // begin alternate branch 000001A2-000001A4
  184. label000001A2:
  185. 000001A2  FFCE                     .extension 0xFCE // unimplemented
  186. // end alternate branch 000001A2-000001A4
  187. label000001A2: // (misaligned)
  188. 000001A4  4E75                     rts
  189. export_11:
  190. 000001A6  4878 0003                push.l     0x3
  191. fn000001AA:
  192. 000001AA  6000 FFC4                bra        -0x3A /* 00000170 */
  193. 000001AE  4E75                     rts
  194. 000001B0  4878 0004                push.l     0x4
  195. 000001B4  6000 FFBA                bra        -0x44 /* 00000170 */
  196. 000001B8  4E75                     rts
  197. 000001BA  4878 0005                push.l     0x5
  198. 000001BE  6000 FFB0                bra        -0x4E /* 00000170 */
  199. 000001C2  4E75                     rts
  200. 000001C4  4878 0006                push.l     0x6
  201. // begin alternate branch 000001C6-000001CC
  202. label000001C6:
  203. 000001C6  0006 6000                ori.b      D6, 0x0
  204. 000001CA  FFA6                     .extension 0xFA6 // unimplemented
  205. // end alternate branch 000001C6-000001CC
  206. label000001C6: // (misaligned)
  207. 000001C8  6000 FFA6                bra        -0x58 /* 00000170 */
  208. 000001CC  4E75                     rts
  209. 000001CE  4878 0007                push.l     0x7
  210. 000001D2  6000 FF9C                bra        -0x62 /* 00000170 */
  211. 000001D6  4E75                     rts
  212. 000001D8  4878 0008                push.l     0x8
  213. 000001DC  6000 FF92                bra        -0x6C /* 00000170 */
  214. 000001E0  4E75                     rts
  215. 000001E2  4878 0009                push.l     0x9 /* '\t' */
  216. 000001E6  6000 FF88                bra        -0x76 /* 00000170 */
  217. 000001EA  4E75                     rts
  218. 000001EC  4878 000A                push.l     0xA /* '\n' */
  219. 000001F0  6000 FF7E                bra        -0x80 /* 00000170 */
  220. 000001F4  4E75                     rts
  221. export_12:
  222. 000001F6  4878 000B                push.l     0xB
  223. 000001FA  6000 FF74                bra        -0x8A /* 00000170 */
  224. 000001FE  4E75                     rts
  225. 00000200  4878 000C                push.l     0xC
  226. 00000204  6000 FF6A                bra        -0x94 /* 00000170 */
  227. 00000208  4E75                     rts
  228. 0000020A  4878 000D                push.l     0xD /* '\r' */
  229. 0000020E  6000 FF60                bra        -0x9E /* 00000170 */
  230. 00000212  4E75                     rts
  231. 00000214  4878 000E                push.l     0xE
  232. 00000218  6000 FF56                bra        -0xA8 /* 00000170 */
  233. 0000021C  4E75                     rts
  234. 0000021E  4878 000F                push.l     0xF
  235. 00000222  6000 FF4C                bra        -0xB2 /* 00000170 */
  236. 00000226  4E75                     rts
  237. 00000228  4878 0010                push.l     0x10
  238. 0000022C  6000 FF42                bra        -0xBC /* 00000170 */
  239. 00000230  4E75                     rts
  240. 00000232  4878 0011                push.l     0x11
  241. 00000236  6000 FF38                bra        -0xC6 /* 00000170 */
  242. 0000023A  4E75                     rts
  243. export_13:
  244. 0000023C  4878 0012                push.l     0x12
  245. 00000240  6000 FF2E                bra        -0xD0 /* 00000170 */
  246. 00000244  4E75                     rts
  247. export_14:
  248. 00000246  4878 0013                push.l     0x13
  249. 0000024A  6000 FF24                bra        -0xDA /* 00000170 */
  250. 0000024E  4E75                     rts
  251. export_15:
  252. 00000250  4878 0014                push.l     0x14
  253. 00000254  6000 FF1A                bra        -0xE4 /* 00000170 */
  254. 00000258  4E75                     rts
  255. 0000025A  4878 0015                push.l     0x15
  256. 0000025E  6000 FF10                bra        -0xEE /* 00000170 */
  257. 00000262  4E75                     rts
  258. export_16:
  259. 00000264  4878 0016                push.l     0x16
  260. 00000268  6000 FF06                bra        -0xF8 /* 00000170 */
  261. 0000026C  4E75                     rts
  262. export_17:
  263. 0000026E  4878 0017                push.l     0x17
  264. 00000272  6000 FEFC                bra        -0x102 /* 00000170 */
  265. 00000276  4E75                     rts
  266. export_18:
  267. 00000278  4878 0018                push.l     0x18
  268. 0000027C  6000 FEF2                bra        -0x10C /* 00000170 */
  269. 00000280  4E75                     rts
  270. 00000282  4878 0019                push.l     0x19
  271. 00000286  6000 FEE8                bra        -0x116 /* 00000170 */
  272. 0000028A  4E75                     rts
  273. 0000028C  4878 001A                push.l     0x1A
  274. 00000290  6000 FEDE                bra        -0x120 /* 00000170 */
  275. 00000294  4E75                     rts
  276. 00000296  4878 0000                push.l     0x0
  277. 0000029A  6000 FED4                bra        -0x12A /* 00000170 */
  278. 0000029E  4E75                     rts
  279. 000002A0  4878 001B                push.l     0x1B
  280. 000002A4  6000 FECA                bra        -0x134 /* 00000170 */
  281. 000002A8  4E75                     rts
  282. 000002AA  2A2A 2A20                move.l     D5, [A2 + 0x2A20]
  283. 000002AE  2749 5354                move.l     [A3 + 0x5354], A1
  284. 000002B2  6B27                     bmi        +0x29 /* 000002DB */
  285. 000002B4  2072 6573 6F75 7263 6520 7374 movea.l    A0, [[A2 + 0x6F757263] + 0x65207374]
  286. 000002C0  7562                     moveq.l    D2, 0x62
  287. 000002C2  2056                     movea.l    A0, [A6]
  288. 000002C4  322E 302C                move.w     D1, [A6 + 0x302C]
  289. 000002C8  2030 392F 3037 2F39 332C move.l     D0, [[A0 + 0x3037] + D3 + 0x2F39332C]
  290. 000002D2  2072 6573 6F75 7263 6520 616E movea.l    A0, [[A2 + 0x6F757263] + 0x6520616E]
  291. 000002DE  6420                     bcc        +0x22 /* 00000300 */
  292. 000002E0  7374                     moveq.l    D1, 0x74
  293. 000002E2  7562                     moveq.l    D2, 0x62
  294. 000002E4  2063                     movea.l    A0, -[A3]
  295. 000002E6  6F70                     ble        +0x72 /* 00000358 */
  296. 000002E8  7972                     moveq.l    D4, 0x72
  297. 000002EA  6967                     bvs        +0x69 /* 00000353 */
  298. 000002EC  6874                     bvc        +0x76 /* 00000362 */
  299. 000002EE  2028 6329                move.l     D0, [A0 + 0x6329]
  300. 000002F2  2031 3939 312D 3933      move.l     D0, [[A1 + 0x312D3933 + D3]]
  301. 000002FA  2062                     movea.l    A0, -[A2]
  302. 000002FC  7920                     moveq.l    D4, 0x20
  303. 000002FE  4672 616E                not.w      <<invalid full ext with IS == 1 and I/IS == 6>>
  304. // begin alternate branch 00000300-00000302
  305. label00000300:
  306. 00000300  616E                     bsr        +0x70 /* 00000370 */
  307. // end alternate branch 00000300-00000302
  308. label00000300: // (misaligned)
  309. 00000302  6B20                     bmi        +0x22 /* 00000324 */
  310. 00000304  5365                     subq.w     -[A5], 1
  311. 00000306  6964                     bvs        +0x66 /* 0000036C */
  312. 00000308  652C                     bcs        +0x2E /* 00000336 */
  313. 0000030A  2057                     movea.l    A0, [A7]
  314. 0000030C  6972                     bvs        +0x74 /* 00000380 */
  315. 0000030E  6963                     bvs        +0x65 /* 00000373 */
  316. 00000310  6873                     bvc        +0x75 /* 00000385 */
  317. 00000312  626F                     bhi        +0x71 /* 00000383 */
  318. 00000314  6E67                     bgt        +0x69 /* 0000037D */
  319. 00000316  6172                     bsr        +0x74 /* 0000038A */
  320. 00000318  6473                     bcc        +0x75 /* 0000038D */
  321. 0000031A  7472                     moveq.l    D2, 0x72
  322. 0000031C  2E20                     move.l     D7, -[A0]
  323. 0000031E  3433 2C20                move.w     D2, [A3 + D2 * 4 + 0x20]
  324. 00000322  442D 3532                neg.b      [A5 + 0x3532 /* export_1698 */]
  325. // begin alternate branch 00000324-0000032A
  326. label00000324:
  327. 00000324  3532 3036                move.w     -[A2], [A2 + D3.w + 0x36]
  328. 00000328  3220                     move.w     D1, -[A0]
  329. // end alternate branch 00000324-0000032A
  330. label00000324: // (misaligned)
  331. 00000326  3036 3220                move.w     D0, [A6 + D3.w * 2 + 0x20]
  332. 0000032A  4161                     chk.w      D0, -[A1]
  333. 0000032C  6368                     bls        +0x6A /* 00000396 */
  334. 0000032E  656E                     bcs        +0x70 /* 0000039E */
  335. 00000330  2C20                     move.l     D6, -[A0]
  336. 00000332  4765                     chk.w      D3, -[A5]
  337. 00000334  726D                     moveq.l    D1, 0x6D
  338. label00000336:
  339. 00000336  616E                     bsr        +0x70 /* 000003A6 */
  340. 00000338  7920                     moveq.l    D4, 0x20
  341. 0000033A  2A2A 2A20                move.l     D5, [A2 + 0x2A20]
  342. 0000033E  5468 6973                addq.w     [A0 + 0x6973], 2
  343. 00000342  206D 6573                movea.l    A0, [A5 + 0x6573]
  344. 00000346  7361                     moveq.l    D1, 0x61
  345. 00000348  6765                     beq        +0x67 /* 000003AF */
  346. 0000034A  206D 7573                movea.l    A0, [A5 + 0x7573]
  347. 0000034E  7420                     moveq.l    D2, 0x20
  348. 00000350  6E6F                     bgt        +0x71 /* 000003C1 */
  349. 00000352  7420                     moveq.l    D2, 0x20
  350. 00000354  6265                     bhi        +0x67 /* 000003BB */
  351. 00000356  2063                     movea.l    A0, -[A3]
  352. label00000358:
  353. 00000358  6861                     bvc        +0x63 /* 000003BB */
  354. 0000035A  6E67                     bgt        +0x69 /* 000003C3 */
  355. 0000035C  6564                     bcs        +0x66 /* 000003C2 */
  356. 0000035E  206F 7220                movea.l    A0, [A7 + 0x7220]
  357. label00000362:
  358. 00000362  7265                     moveq.l    D1, 0x65
  359. 00000364  6D6F                     blt        +0x71 /* 000003D5 */
  360. 00000366  7665                     moveq.l    D3, 0x65
  361. 00000368  642E                     bcc        +0x30 /* 00000398 */
  362. 0000036A  4E75                     rts
  363.